from langchain_community.embeddings import OllamaEmbeddings

embedding_model = OllamaEmbeddings(
    base_url='http://localhost:11434',
    model='quentinz/bge-large-zh-v1.5:q4_0'
)
print(embedding_model.embed_query('你是谁'))
